/**
 * Created by Administrator on 2018/1/17.
 */
    //底部导航
$('.index_toolbar.toolbar-inner a').click(function () {
    var index = $(this).data('order');
    $(this).children("img").attr("src", "img/shouye/toolbartouch" + index + ".png");
    $(this).siblings().each(function () {
        var Imgs = $(this).find("img");
        var Ind = $(this).data('order');
        Imgs.attr("src", "img/shouye/toolbaricon" + Ind + ".png");
    });
})
$('.xty_seller_toolbar.toolbar-inner a').click(function(){
    var index = $(this).data('order');
    $(this).children("img").attr("src", "img/shouye/toolbaractive" + index + ".png");
    $(this).siblings().each(function () {
        var Imgs = $(this).find("img");
        var Ind = $(this).data('order');
        Imgs.attr("src", "img/shouye/toolbar" + Ind + ".png");
    });
})
